/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package warehouse;

import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.ejb.Stateless;

/**
 *
 * @author User
 */
@WebService(serviceName = "WarehouseWebService")
@Stateless()
public class WarehouseWebService {

    /**
     * Web service operation  
     * @param id
     * @param productname
     * @param price
     * @param quantity
     */
    @WebMethod(operationName = "purchasedOrder")
    public Boolean purchasedOrder(@WebParam(name = "id") int id, @WebParam(name = "productname") String productname, @WebParam(name = "price") double price, @WebParam(name = "quantity") int quantity) {
        //TODO write your implementation code here:
        return null;
    }
}
